package com.qf.entity;

import lombok.*;

import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User implements Serializable {
    private  Integer uid;
    private String uname;
    private String password;
    private String sex;
    private String address;
    private String phone;
    private  String username;

    public User(String uid, String uname, String password, String sex, String address, String phone) {
        this.uid = Integer.valueOf(uid);
        this.uname = uname;
        this.password = password;
        this.sex = sex;
        this.phone = phone;
        this.address = address;
    }
}
